package com.keda.model;

import java.io.Serializable;

public class Product implements Serializable {

    private Integer id;
    private String name;
    private String proPic;

    // 凡是涉及到金额的，一般都精确到小数点后两位 Float和BigDecimal
    // 数值类型
    private Float price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProPic() {
        return proPic;
    }

    public void setProPic(String proPic) {
        this.proPic = proPic;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }
}
